//
//  UIView+Frame.h
//  一些常用类的封装
//
//  Created by IOS on 2016/12/26.
//  Copyright © 2016年 IOS. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIView (Category)
@property (nonatomic, assign) CGFloat x;
@property (nonatomic, assign) CGFloat y;
@property (nonatomic, assign) CGFloat maxX;
@property (nonatomic, assign) CGFloat maxY;
@property (nonatomic, assign) CGFloat centerX;
@property (nonatomic, assign) CGFloat centerY;
@property (nonatomic, assign) CGFloat width;
@property (nonatomic, assign) CGFloat height;
@property (nonatomic, assign) CGSize  size;
- (void)setTapActionBlock:(void (^)(void))block;
- (void)addShadowColor:(UIColor *)color offset:(CGSize)offsert;
- (UIViewController *)viewController ;
@end
